Einhugur macOS Bridge plugin.

NSButton.RadioButtonWithTitle Method

Creates radio button with given title and optional click handler.

shared RadioButtonWithTitle(
   textValue as String,
   clickHandler as ButtonClickDelegate) as EinhugurMacOSBridge.NSButton

Parameters

textValue
The title to put on the radio button.
clickHandler
The click handler to put on the radio button or nil if no click handler is wanted.

Returns

EinhugurMacOSBridge.NSButton

Remarks

Radio buttons are in same group if they got same NSView as parent and have same click handler. For this to work then you must first create one Radio button with a click handler, and then its siblings you create with the other variation of thee RadioButtonWithTitle function.

See Also

NSButton Class